<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Modificar Tienda</title>
        <link href="../../../estilos.css" rel="stylesheet" type="text/css"/>
    </h:head>
    <h:body>
        <f:view>
            <h:form>
                <h1><h:outputText value="Tienda"/></h1>
                <h:panelGrid columns="2">
                    <h:outputLabel value="Id:" for="id" />
                    <h:inputText id="id" value="#{tiendaManagedBean.details.id}" title="Id" required="true" requiredMessage="The Id field is required." onmouseover ="this.readOnly=true;" onmouseout ="this.readOnly=false;" onfocus="window.focus();"/>
                    <h:outputLabel value="Nombre:" for="nombre" />
                    <h:inputText id="nombre" value="#{tiendaManagedBean.details.nombre}" title="Nombre" />
                </h:panelGrid>
                <h:commandButton id="update" value="Modificar" action="#{tiendaManagedBean.modificarTienda}"/> 
                <!--<h:commandButton id="back" value="Back" action="#{customer.list}"/>-->
            </h:form>
        </f:view>
    </h:body>
</html>

